package com.zeus.base.smscenter.common.validate.model;

/**
 * 验证状态码
 */
public enum ValidateStatus {
    SUCCESS(true, "成功"),
    USERNAME_NOT_EXIST_ERROR(false, "未输入用户名"),
    USERNAME_ERROR(false, "用户名错误"),
    PASSWORD_NOT_EXIST_ERROR(false, "未输入密码"),
    PASSWORD_ERROR(false, "密码错误");


    /**
     * 返回码
     */
    private Boolean result;

    /**
     * 返回结果描述
     */
    private String message;

    ValidateStatus(Boolean result, String message) {
        this.result = result;
        this.message = message;
    }

    public Boolean getResult() {
        return result;
    }

    public String getMessage() {
        return message;
    }

}
